package cn.shyouchi.wuguanjia.android.api.hanvon;

import cn.shyouchi.wuguanjia.android.model.IdCardEntity;
import cn.shyouchi.wuguanjia.android.model.IdCardRequest;
import cn.shyouchi.wuguanjia.android.model.IdCardReverseEntity;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Eenie on 2016/10/12 at 14:27
 * Des:
 */

public interface HanvonService {


    @POST("rt/ws/v1/ocr/idcard/cropped/recg?key=cbae142c-2525-4e87-9125-92a60c98ed01&code=56bc30ea-2229-4891-9c92-8a022f10889f")
    Observable<IdCardReverseEntity> identidyIdCardReverse(@Body IdCardRequest request);


    @POST("rt/ws/v1/ocr/idcard/cropped/recg?key=cbae142c-2525-4e87-9125-92a60c98ed01&code=56bc30ea-2229-4891-9c92-8a022f10889f")
    Observable<IdCardEntity> identidyIdCard(@Body IdCardRequest request);


}
